package com.cjhstudy.mall.service;

import com.cjhstudy.mall.vo.OrderVo;
import com.cjhstudy.mall.vo.ResponseVo;
import com.github.pagehelper.PageInfo;

/**
 * @author: phil
 * @ProjectName: mall
 * @Date: 2021/12/10
 */
public interface IOrderService {

    ResponseVo<OrderVo> create(Integer uid,Integer shippingId);

    ResponseVo<PageInfo> list(Integer uid, Integer pageNum , Integer pageSize);

    ResponseVo<OrderVo> detail(Integer uid, Long orderNo);

    ResponseVo cancel(Integer uid,Long orderNo);

    void paid(Long orderNo);

}
